﻿public class Singleton<T> where T : class, new() {
    protected Singleton() { }
    private static readonly T _instance = new T();

    public static T Ins {
        get { return _instance; }
    }
}